<template>
  <div class="box">
    <h1>Child</h1>
    <Grandson v-bind="$attrs" v-on="$listeners"/>
  </div>
</template>

<script>
import Grandson from './Grandson'
export default {
    name:'Child',
    props:['count','getData1'],
    components:{
      Grandson
    },
   mounted() {
      console.log(this.$attrs);
      console.log(this.$listeners);
   },
}
</script>

<style scoped>
    .box{
        background: yellowgreen;
    }
</style>